ATC copilot infinite loop requesting IFR clearance

Spent 3.5 hours on a Medivac flight for the Copilot ATC to glitch out at last waypoint. Tried to skip to decent, aircraft went insane and copilot ATC went back to takeoff prompts. This has happened multiple times on long flights.