Get ports in sync. There is probably a better way.