todo updated
fixed issues with graceful shutdown
fixed unmanaged connection break