Alive check on key up and down