This actually never seems to happen. Maybe this has to do with allow_setup being set to 0? I found that either successful calibration or a pylink.ESC_KEY seems to be the only way out of doDriftCorrect, the first returns 27, the latter raises an exception