Added askRetryCancel function