Use AsyncWatcher to break a loop immediately from signal handler