added keep-alive events