issue 1180: Fixed intermittent Client-periodic-flush failure