make multi-homing thread safe