Fix #1406: add TimeoutException and CancellationException