[sr-dev] git:master:c7e411ed: tm: reinit ref counter if attempting to free while still in wait timer