Fixed a bug where WampConnectionMonitor didn't detect errors

as disconnections.