remove the stderr redirection to avoid the broken pipe error