Use AQR to retry SQLCODE -1254

This change adds SQLCODE to the list of errors retried with the
action of clearing the metadata cache.

Change-Id: Iec5a79a7ea7c835c73f4751594e17c8396a46cc3
Closes-Bug: #1354150