Shutdown the service directory if it's running