auto-connect now also detects port removal