register connect task