WebUSB: Clear the dapwrapper only after disconnection.
WebUSB: Clear the dapwrapper only after disconnection.

It also captures any possible error during WebUSB disconnection.

bbcmicrobit/PythonEditor,bbcmicrobit/PythonEditor,bbcmicrobit/PythonEditor,bbcmicrobit/PythonEditor