There seems to be a retain cycle somewhere in the library. The memory spikes and then the application crashes (Swift 5.3).