make sure stable_partition is cleaning up properly