Set the ShowTracker.close() writing to be synchronized