How about moving this variable inside the observe callback? The scope of its life cycle is only there.