fixed issue where services kept joining the registry after leaving
0.6.1