Fix a possible memory leak in IOEncoder

Afaik there was no way for a Adapter to close a Response Body when it was a IOEncoder, leaving File Descriptors unnecessary open.