I need for this script to stop listening for the button press when a USR1 signal is sent to it. The below code sort of works, but it never resumes the loop after the pause_loop