'Closes any open connections to the underlying databases'

def close_connections(self):

    if self.contentstore:
        self.contentstore.close_connections()
    super(ModuleStoreReadBase, self).close_connections()
