variable name indicates 'seconds' but is treated as 'millis' when used.

Fix by multiplying * 1000 during sleep.