Fix a possible memory leak in IOEncoder

Afaik there way no way for a Adapter to close a Response Body when it was a IOEncoder