Make sure the initialization phase of the mounttray lasts at least a 1/2second, and ensure that no external applications are prompted to open during that time.