handle timeout exception raised by client