Added Timeout exception handler.