6cc83bf12d
is a race here that the old code didn't deal with, and I'm not completely sure this is the right way to solve it, but it works here. Should get rid of the dreaded "No free configuration for card" message.