Flag as not connected on leave