When opening the listener and connecting to a wrong url, an error is expected.
Currently only a log is thrown in the console.
To reproduce the behaviour try to connect the listener to a server that does not host a catapult server.
Using javascript and nem2-sdk-typescript-javascript