poll works better can inotify

inotify will panic: unexptected EOF