detect if the process is still actually running to handle starting the service after the machine was halted and restarted