cleanup; kill ffi (it's all ported)