Lost mucus plug at 40 weeks exactly

Priscilla
How long after losing your mucus plug do you officially go into labor? I am officially 40 weeks today. Dilated at 2cm, having contractions and still losing my mucus plug since 1am. Should I be prepared to go back to hospital tonight or will this take a little while?