fix inotifytools_next_events timeout == 0 keep blocking bug