fix: handle disconnection while discovering characteristics