[#394] fixed a regression where the response object was not cleared before re-using it