CA-153127: Extend the timeout protection scope for master db connection
CA-153127: Extend the timeout protection scope for master db connection

In existent implement with_timestamp is only used to restrict the time
we receive the response body. If the master never respond the HTTP
request we will hang for far more than 2 minutes. Extend the time
protection scope could make sure that situation would also be handled.

This seems to be a regression introduced by 37e8d356.

Signed-off-by: Kaifeng Zhu <101c366863422798b95704fa46f7b4a7170761aa@citrix.com>

jjd27/xen-api,agimofcarmen/xen-api,simonjbeaumont/xen-api,agimofcarmen/xen-api,koushikcgit/xen-api,rafalmiel/xen-api,robertbreker/xen-api,cheng-z/xen-api,guard163/xen-api,cheng-z/xen-api,guard163/xen-api,koushikcgit/xen-api,jjd27/xen-api,thomassa/xen-api,euanh/xen-api,thomassa/xen-api,djs55/xen-api,vasilenkomike/xen-api,vasilenkomike/xen-api,cheng-z/xen-api,euanh/xen-api,cheng-z/xen-api,Frezzle/xen-api,anoobs/xen-api,thomassa/xen-api,srowe/xen-api,Frezzle/xen-api,anoobs/xen-api,salvocambria/xen-api,djs55/xen-api,euanh/xen-api,robertbreker/xen-api,djs55/xen-api,djs55/xen-api,guard163/xen-api,cheng--zhang/xen-api,jjd27/xen-api,koushikcgit/xen-api,cheng--zhang/xen-api,cheng-z/xen-api,cheng--zhang/xen-api,thomassa/xen-api,thomassa/xen-api,cheng-z/xen-api,rafalmiel/xen-api,guard163/xen-api,jjd27/xen-api,vasilenkomike/xen-api,koushikcgit/xen-api,guard163/xen-api,agimofcarmen/xen-api,anoobs/xen-api,robertbreker/xen-api,Frezzle/xen-api,rafalmiel/xen-api,rafalmiel/xen-api,robertbreker/xen-api,robertbreker/xen-api,agimofcarmen/xen-api,jjd27/xen-api,srowe/xen-api,vasilenkomike/xen-api,vasilenkomike/xen-api,salvocambria/xen-api,salvocambria/xen-api,simonjbeaumont/xen-api,koushikcgit/xen-api,salvocambria/xen-api,agimofcarmen/xen-api,euanh/xen-api,rafalmiel/xen-api,simonjbeaumont/xen-api,srowe/xen-api,simonjbeaumont/xen-api,jjd27/xen-api,anoobs/xen-api,cheng-z/xen-api,euanh/xen-api,djs55/xen-api,cheng--zhang/xen-api,rafalmiel/xen-api,cheng--zhang/xen-api,anoobs/xen-api,guard163/xen-api,anoobs/xen-api,vasilenkomike/xen-api,simonjbeaumont/xen-api,srowe/xen-api,euanh/xen-api,cheng--zhang/xen-api,cheng--zhang/xen-api,thomassa/xen-api,koushikcgit/xen-api,salvocambria/xen-api,Frezzle/xen-api,Frezzle/xen-api,simonjbeaumont/xen-api,djs55/xen-api,agimofcarmen/xen-api,salvocambria/xen-api,srowe/xen-api,robertbreker/xen-api