Only call on_output if we're getting output