connection add a connected field to specify connect status