[PATCH v4 1/1] mf: Release topologies when shutting down the session.