Threading issue with dinput/joysticks