fixup! client.end, fix assertion msg