fix the issue callback call twice

if the error callback handler doesn't return earily
the callback will be called twice, that's cause some unexpected
error