Changed LM initialization from itry to timeout loop