Karthik R
The problem is due to a small gap between the line bodies. To identify the gap, use Boolean > Unite. Select all the line bodies and unite them. You should then see that some of the bodies are not merged together. Zoom in closely at the end points to see the gap. Use Tools > Connect to connect the end points.