Added guards in start/stopSamplingService