Prevent 'Connection closed' errors from being displayed multiple times and fix support of standard pings.