update time counter regardless of whether if the polling function succeeds
update the epoll-based impl.