Catch exception when calling timeout exception.
Merge pull request #119 from PierreF/timeout_callback

Timeout callback could break job timeout