Made sprinkles singleton more thread safe