calculates initial timeout minus current milliseconds passed, so it always starts on the exact second
Merge pull request #1 from furzeface/master

calculates initial timeout minus current milliseconds passed