Clean managed/umnamaged allocator
remove Free() method in UnmanagedAllocator
add unittest of retry_allocator