Fix concurrent modification error on newGenes list by making addConnection synchronized