Send keepalive when in server mode.