Try to reconnect on stale db connection at transaction boundary.