[FIX] service.server: bump up socket timeout to 2s
[FIX] service.server: bump up socket timeout to 2s

Rev. 8245c1d1d87b443701b161d8d4a42df2b4d13aec introduced a timeout to
avoid lockup situations with wkhtmltopdf's requests on servers with low
numbers of free HTTP workers.

The initial timeout of 500ms was chosen based on average network
latency, but turned out to cause spurious disconnections on congested
networks combined with slow links.

Bumping up the timeout to 2s seems to be a better sweet spot, causing
less spurious disconnections while still recovering reasonably fast from
the wkhtmltopdf lockup situation.

See also these discussions:
 - https://github.com/odoo/odoo/commit/8245c1d1d87b443701b161d8d4a42df2b4d13aec#commitcomment-22904347
 - PR #12356
 - Issue #2114

Closes #17998

diagramsoftware/odoo,CatsAndDogsbvba/odoo,tvibliani/odoo,Elico-Corp/odoo_OCB,diagramsoftware/odoo,odootr/odoo,tvibliani/odoo,funkring/fdoo,OpenUpgrade/OpenUpgrade,Nowheresly/odoo,Nowheresly/odoo,makinacorpus/odoo,OpenUpgrade/OpenUpgrade,datenbetrieb/odoo,tvibliani/odoo,synconics/odoo,synconics/odoo,diagramsoftware/odoo,ygol/odoo,funkring/fdoo,OpenUpgrade/OpenUpgrade,vnsofthe/odoo,diagramsoftware/odoo,odootr/odoo,datenbetrieb/odoo,vnsofthe/odoo,glovebx/odoo,datenbetrieb/odoo,datenbetrieb/odoo,CatsAndDogsbvba/odoo,makinacorpus/odoo,alexcuellar/odoo,synconics/odoo,glovebx/odoo,vnsofthe/odoo,vnsofthe/odoo,NeovaHealth/odoo,spadae22/odoo,NeovaHealth/odoo,odootr/odoo,glovebx/odoo,vnsofthe/odoo,NeovaHealth/odoo,NeovaHealth/odoo,odootr/odoo,makinacorpus/odoo,odootr/odoo,funkring/fdoo,Nowheresly/odoo,makinacorpus/odoo,glovebx/odoo,diagramsoftware/odoo,CatsAndDogsbvba/odoo,CatsAndDogsbvba/odoo,spadae22/odoo,CatsAndDogsbvba/odoo,funkring/fdoo,odootr/odoo,makinacorpus/odoo,NeovaHealth/odoo,datenbetrieb/odoo,synconics/odoo,ygol/odoo,spadae22/odoo,glovebx/odoo,diagramsoftware/odoo,ygol/odoo,glovebx/odoo,Elico-Corp/odoo_OCB,tvibliani/odoo,ygol/odoo,vnsofthe/odoo,Nowheresly/odoo,makinacorpus/odoo,spadae22/odoo,Nowheresly/odoo,tvibliani/odoo,spadae22/odoo,funkring/fdoo,OpenUpgrade/OpenUpgrade,tvibliani/odoo,Nowheresly/odoo,datenbetrieb/odoo,Nowheresly/odoo,alexcuellar/odoo,funkring/fdoo,datenbetrieb/odoo,odootr/odoo,funkring/fdoo,Elico-Corp/odoo_OCB,ygol/odoo,synconics/odoo,synconics/odoo,CatsAndDogsbvba/odoo,vnsofthe/odoo,ygol/odoo,makinacorpus/odoo,alexcuellar/odoo,OpenUpgrade/OpenUpgrade,CatsAndDogsbvba/odoo,ygol/odoo,alexcuellar/odoo,NeovaHealth/odoo,Elico-Corp/odoo_OCB,Elico-Corp/odoo_OCB,NeovaHealth/odoo,alexcuellar/odoo,alexcuellar/odoo,Elico-Corp/odoo_OCB,synconics/odoo,diagramsoftware/odoo,alexcuellar/odoo,OpenUpgrade/OpenUpgrade,glovebx/odoo,spadae22/odoo,OpenUpgrade/OpenUpgrade,tvibliani/odoo,spadae22/odoo