If the user calls BIS_fnc_codePerformance while the script engine is heavily loaded, the game can become unresponsive. The BIS_fnc_codePerformance dialogue opens and returns a result as expected and the game keeps running, but the dialogue can not be closed. When external script load ends, the dialogue becomes responsive (which can be up to several minutes)
The only input that works seems to be the Shift numpad cheats (although they can not end the mission) and alt+F4. {F22308}