call epoll_ctl after changing our state table; in case that epoll_ctl fails we need to make sure that the table is consistent. from William Ahern svn:r162