make also TrackSelector thread safe