added keep alive to clients