added a reconnect method to the dispatcher, which reconnects to the web socket and resubscribes to all registered channels