Hi and welcome to KH!!
What I do is go ahead and work the first st, leave it on the needle, work the last st, and then remove them at the same time. I pull it snug and most of the time this will take care of the loop.
When I first started knitting socks I had the same problem and tacked the little loop down on the first couple or so