Ignore duplicate connections. (should resolve Bug #1725)