sync stdout so that the output can be captured