Added connection confirmation as well as connect back.