Properly handle errors in `Response.communicate`.