linux: always deregister closing fds from epoll

This is a backport of 780d8ad8e58c675dc60f5b73ea22a203760da2f2.

cc @saghul

(I'm going to verify it manually on linux).