Added on/off toggle for keep-alives.
Default to off