In Zope version >= 2.13.19 the storage is explicitly closed on shutdown. This caused an attribute error on reload, since the _rpc_mgr was None. Test for is_connected before closing connection and cache.