Plugtest hotfixes

Since thread_exit() seems to be broken on iot-lab_M3 this is an important fix for tomorrow. ;)