#13: handle timeouts