Added ability to configure connection pool query timeout