Unregister on EBADF
select: Clear on close
Eventloop: Small improvements