Rémi Bernon : dinput: Wait for the internal thread with a timeout.