add res to the callback params so we can control the result code sent to AMZ.  they will retry if they get an error.