adds debugging lines for return_code w/ output_timeout