with thanks to Jack Lloyd, this works around the default Botan allocator slowing down for us during production use.