try to wait with closing store and tlog untill the fsm thread has been cancelled