catch timeout exception