add monitor to io handler