Clear stuff when reconnecting.