Make sure that WiimoteReal is really shutdown on app exit. Particulary ensure that the wiimote scanning thread is joined. This fixes a crash on shutdown if scanning has been initiated.