Use thread safe map for cancel recorder