Fix #9
Stopping a connection has been wrapped into a protected method.