refactored use of item->event, so that replace_poll_fd() function not needed