Makes sure impermanent graph dbs and ephemeral fss gets shutdown in tests