handle timeouts as usual exceptions