Implement wait_directory_event, and the appropriate cleanup. No actual directory...