connect is breaking