tracing: Prevent deleting instances when they are being read