- Made the calls to maybe_send_keepalive() happen at better intervals.