miyagawa/Twiggy — pull request #37 by maedama (2013-09-28 14:04:02+00:00)
Title: decremented exit guard when failed to write header

I think Twiggy fails to decrement exit_guard counter when, it fails to write a header (i.e EPIPE).
I have not written a test yet but this pull request should fix the problem. Please tell me if I am wrong in any ways.