Using statics for thread safed managing notifications