fixes #82
Merge pull request #84 from dotCMS/issue-82-stopping-previous-host-when-changing-default-one

fixes #82