make waiting for port assignment optional