delay marking FIFO closed
to after it has been cleared.
This requires clearing it once more, but improves throughput
significantly when there is only limited parallelism.