Use helper variable to be save against spurious wakueps