Fix connect error, seeing an unexpected frame error now