Is it possible to merge several vertices at once?
Make a selection including the vertices you want to merge, but not including other vertices which are close to one another that you don't want to merge, vertex menu CtrlV > 'Remove Doubles', adjust 'Merge Distance' in the toolbar.