"Bad file descriptor" errors with as

Anyone here is using dkimproxy with postfix as a pre-queue filter?

I’m using it, and works for most of the time, but it dies for about 8% of mails that get through it with the following error: write error acknowledging accepted: Bad file descriptor”

Any idea of what does it mean?