LPS-34419 Run Ruby code in an isolated thread to prevent leaking.
LPS-34419 SF
LPS-34174 SF