Remove error callback properly on off_error.