allow for clearing of stdout/stderr