Add example of shutting down connection manager to documentation