added guard around tracing in WritbleRpcEngine.