Making sure other MySQL errors are NOT retried