clean up file descriptor polling nonsense