services stop and start as hosts are added and removed

fixes zen-13093
Connection checks for shutdown