fix: only close fanotify
events with a valid fd
#2399
Merged
fanotify
events with a valid fd
#2399