Signal handler for signal.SIGBREAK not possible on Linux, so add try/except