Added stout flushing for jenkins.