EventBase keepAlive counter is not atomic