rx: add and export a public keepalive toggle