[boost] singleton and thread safety