catch Timeout exception
Merge pull request #239 from trbs/timeout_exception

catch Timeout exception