Make epoll non-blocking and check for new socket state