Why do you want to remove it though? Can't the callback just return? I can't remember specifically about that module, but by repeatedly connecting and disconnecting you would probably be re-initialising the chip each time.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yes - At the moment you're a bit stuck.
Why do you want to remove it though? Can't the callback just return? I can't remember specifically about that module, but by repeatedly connecting and disconnecting you would probably be re-initialising the chip each time.