Sleep race condition bugfix

Due to a race condition in the sleep code, the VFD filament could
sometimes be left on when the clock goes to sleep.  This bug should
only effect clocks with the IV-18 to-spec hack.
Merge branch 'master' into russell