fix "Cannot get a connection, pool error Timeout waiting for idle object"

(which is error code 12, but should be categorized as a Timeout)

(Sorry for all the PRs!)