threadsafe for deployment attempt #2