Properly stop all listeners on SIGINT