Close std(out|err) instead of redirecting to /dev/null.