[Connection] fixed issue with double lines #4181