Workaround for ioManagerWakeup error on OSX.