Check for null track before releasing