base-client: fix TpConnection leak