fixed one more race condition

this one could cause the car to wake up unnecessarily from sleep mode.