add keepalive and timeout related commands