added isRunning method to the DiscoverServerApi interface and implementation