call the end_callback in http output if there is an error