Fix in DiscoveryService.stop() method