connection: remove debug code