Fix bug Content-2483: remove the detector http module at the begining of upgrade process to avoid race condition issue.