All the *timeout() functions incorrectly assumed, that that timeout is less than a second. Reporter of this bug would like to remain anonymous, but thanks anyway! Fixes #10. Signed-off-by: Petr Štetiar <ynezz@true.cz>