Added one more iteration for release the memory