Retry after cancelation was not working