Quit unique_ptr reliance and let it handled by the underlying implementation