avoid double-connects