Make task list and replica task list gathering a retryable error in case there
are db issues.