Add condition to hide stdout and stderr for jobs not yet finished.