It looks like this gets called whenever the connection is closed--in particular, it also gets called if the user manually switches off Live Development in Brackets. In that case, we shouldn't show the disconnection tooltip. If there's some state that we already set before starting to close the connection, we could just check that and not show the error when we actually get the detach message. If not, we might have to add a flag somewhere for this (and clear the flag when we get the detach message).