Make sure only one Repo and DeepWorker is made.