Prevent logout in PC and CW