Don't reset the replset unless the port changes.

(Resetting the replset is slow!)