Updated documentation on retry and cancel