Avoid EPERM error when using /dev/null with epoll