Fix the reactivate connection issue.