multifd: Only flush once each full round of memory