From the docs of addPostFrameCallback, I see that
Post-frame callbacks cannot be unregistered. They are called exactly once.
and so