handle cancellation exceptions using try/catch
handle cancellation exceptions using try/catch