OTServer: replace OTCleanup with unique_ptr