Add the keepalive attribute to the client