[PATCH v4 0/4] check sink_count before update is_connected status