resolve dead lock issue and remove safeCurrentMemory and maintain tobeDroppedBlocks correctly