Issue #2701335 by kekkis, hchonov, Ben Buske: Run garbage collection during migration memory reclamation