inotify monitor: Handle deletion of the db file.