Bug 1030243 - Fix port allocation/binding race condition in semiauto