Don't double decrease g_inCbCount.

Happened when a thread was deleted, it seems like.  Fixes #6542.