Add timeout
Merge pull request #18 from bugsnag/timeout

Add timeout