So Im 31 weeks and my water broke at work

went to the hospital and was dialated at a 1 with contractions every 2 to 4 minutes. They now have me on hospital bed rest until he is born. I was given magnesium to stop the contractions I'm on my third bag now. I was just wondering if anyone else has been in a similar situation and if so how long after being off magnesium did the contractions start again? I'm just scared they're gonna start as soon as they take me off!
Re: Early labor,, magnesium