Implement a timeout
Merge pull request #9 from yola/timeout

Implement a timeout