add keepalives to client