turn _on_disconnect into internal callback
remove pause in test
handle disconnects when in subscription mode