Add connect server task.