limit the update frequency of the epoll/kqueue timeout period, fixes #200
Merge remote-tracking branch 'nephics/adaptive'