A 24-year-old woman at 32 weeks’ gestation presents with painful regular contractions and intact membranes. Cervix is 3 cm dilated on examination. There are no contraindications to vaginal birth. What is the most appropriate pharmacological intervention to improve neonatal outcome?