Modified service recovery to allow actions on a non-zero exit code
Updated sample to show property return from HostFactory.Run