try a minimalistic integration of threaded FFI