Fixed a excessive sleep delay when GM was detected.