added busy wait during location connect