Add a timeout to exec.
Merge pull request #5 from ofertix/timeout-exec

Add a timeout to exec.