When faced with such a situation I have pulled up the whole plant and stacked them somewhere cool and dry to finish off!
Then when dry as Eroistic described, I collect the seed.
I find this way better than just removing the pods!
Although ideally its best to let nature take its course!