Add helper method to get process ID of a Windows service.