Handling of timeout exception