change from RetryError to RejectError