If you can convert all of the polylines which are shown as half circles into simple arcs, then the join command could be used. However, the option to close an arc only works for individually selected arcs. Therefore you cannot select all of them and expect to close them.
Fortunately, you can create a selection set in AutoLISP and cycle through the selection set one at a time and use the join command that way.
Code:
(prompt "Select arcs to close...")
(setq ssArcs (ssget '((0 . "ARC"))))
(repeat (setq cnt (sslength ssArcs))
(command "_.join" (ssname ssArcs (setq cnt (1- cnt))) "l")
)
Copy and past this code to your drawing window after you have converted the polylines to arcs.