When an error occurred in the longpolling, we used to resend a new request immediately. This resulted in thousands of request in a few seconds when we lost connection to the box. closes odoo/odoo#32544 Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>