Flush stdout on print.

Other cannot capture output of killed grace processes.