false labor?

Day
I was in labor and delivery last night because I was having contractions 5 minutes apart. I really thought it was time! I was sent home because my cervix was not dilated although it was soft. I'm 37 weeks and 5 days. I continued having contractions at home all night and they eased up this morning. Has this happened to anyone and if so when did you finally deliver?