die in case of execute error
Added timeout option in the constructor (defaults to 1 h)