close watchers before attempting to watch new dependencies