bug-341 - compare sleep/wake counts more carefully.

A more fundamental approach would be instead to get the time ticking
under explicit test control as discussed here...

    http://cbugg.hq.couchbase.com/bug/bug-341

But there's some timer and lifecycle channel management to think
through before attempting that.