Thread safety at init time