tplay: workaround to avoid the SIGSEGV in the IL RM proxy thread when closing the application (closes #88).