This patch fixes a possible receive timeout caused by a slow response from the
driver agent. For example if the database is very slow.
Closes-Bug: #2032890
Change-Id: I9079030a5fef9dc44da242adab3c568666777451
(cherry picked from commit 2a84a218ef)
(cherry picked from commit f1142a99a9)
(cherry picked from commit 5ec74a4dbe)
(cherry picked from commit 3f764c5d2b)
(cherry picked from commit 450c3b9f47)