set keepalive as carriage return only