Test fix for a race condition that could result in message notifications being sent unnecessarily after waking from sleep.  Should Fix #13