datastore: ensure client closes respond bodyx