Fixed the hanging problem for the inner thano memory