Pendiente

Can 'pendiente' be used as a noun, in the sense of "a task that's been hanging over my head"? I want to say that I just completed a task that's been on my list for a while. I want to say "acabo de terminar un pendiente" but I think that's probably wrong. Maybe 'una tarea pendiente'?