Small tweak to flush standard out when trying to write in order.