fix: add missing Close call for serveral resources
Close response body and general ReadCloser
s to solve memory leaks. Some of these only affect tests but there are some concerning ones in production code.
EDIT: this expanded beyond ReadClosers
Edited by feistel