Connection of cables with open end