karate-plugin: fix restarting the thread in case the device has a disconnect, fix some strings