Fix a bug in the regex to check the service is running and the stderr give back an empty string.