Merge "Check if the trace was stopped before starting the tracing thread" into rvc-dev am: 164a1d8b1e

Change-Id: I0354d4f771831daabb3d09d72dc0617c3584e6a7