Change the io_listen interface to brake up the main loop