Checking if service is running before starting it