clear keepalive interval before making a new client