printing times and flushing STDOUT.
Honoring the process timeout.