synchronize init method

This should fix the possible race condition when creating the lookup object.