check if service is running