Singleton for multithread