handle POLL_HUP
handle POLL_HUP