Hi, I have just added a stop function over the thing function. So you can now call
thing.stop(); when required to disconnect the client (and stop calling the
thing.handle(); function. To reconnect again, you will require to call
thing.handle(); again in the loop (remember to call it not just once, but as long as you need your device connected).
You can try the function by using the master library version from Github (it is not available yet over the Arduino Library Manager).
Hope this help!