Make epoll/kqueue close-on-exec.