#2 set connected to false on end event.