Fixed getCandidates so we never connect to the same IP more than once. (was a bug)