Don't listen events on connect

Since the connect event can be fired multiple times, we practically shouldn't listen events on that timing.
I fixed examples and added a description.