Act on epoll socket events properly