Handle timeout exception