Avoid leaks in case epoll_create fails
Set close-on-exec flag on the epoll descriptor