Binding off on a single knitted icord

I cannot figure out how to bind off at the end of the cord. A regular bind off doesn’t work - it leaves a hole. I am making a bunch of them in different lengths by casting on 4 stitches and knitting them back & forth on dpns. Can anyone help, please? TIA!

I don’t know if there is a recommended method, but I just decrease by k2tog at the top then slip what’s left onto a yarn needle with the tail and pull it through the center then weave in ends.

Thanks, I will try that!