On interruption wait until all output is dumped in StreamLogger.