Resetting all settings can help you fix the infinite loading screen error when the program stops working. Wait a few seconds before turning on your console/PC and router to let them stabilize a bit, and run Apex before doing anything else after turning it on.