Modify the main service to terminiate gracefully to prevent the pipe error from the windows service manager.  This is adapted from pull request ten with the original authors intent to add a configuration value to preserve the original functionality.
Modify the main service to terminiate gracefully to prevent the pipe error from the windows service manager.  This is adapted from pull request ten with the original authors intent to add a configuration value to preserve the original functionality.