keeping states in disk

state managerin calisma ssekli duzenlendi race conditiondan kaynaklanan
process hatalari queue kullanilarak giderildi