StdoutCapture: prevent capture of already captured output (crash because __call__ is not implemented).