Add keepalive option.