fix logic error in http_exchange::will_close