Qlik interview question

How can you make a Singleton class thread safe?