void cancelTimeout()
Cancels any previously scheduled timeout.
If no timeout is scheduled, this is a no-op.