Fix prepare watcher teardown in the event loop