Move io monitoring to poll library.