Add support for milliseconds timeout
Merge pull request #140 from egeloen/timeout

Add support for milliseconds timeout