Make test more resilient by catching TraceRetrievalException