Fixes issue where matlab hostid keeps changing.