Making interactiveX2 thread-safe to avoid reboots on multi-cpu systems.