added simple socket based shutdown service