Fixed: shutting down server to test disconnection errors.