Remove unnecessary loop from io_watch_callback()