Added mutex locks on the Directory to prevent a race condition during the memcpy/update of the IP vector