add request timeout

fix GH-12
Merge pull request #13 from freewil/timeout

add request timeout