Remote exception handling changed a bit, so I think you can make this more specific: `if (throwable instance of RemoteException && throwable.getCause() instanceof RetryPrepareException)`.