retryCallback should send the error argument