default keepalive off. some changes