last issue with state/keep alive timer