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.

Signed-off-by: Kaifeng Zhu <kaifeng.zhu@citrix.com>