racing condition in license mgr