proper error handling when shutting down server
proper error handling when shutting down server

deepstreamIO/deepstream.io,hoxton-one/deepstream.io,deepstreamIO/deepstream.io,deepstreamIO/deepstream.io,hoxton-one/deepstream.io