Fix stream close for KKAPIRequest