Fixed bug in StopAllServices