Magnesium sulfate given to pregnant women at imminent risk of birth before @ weeks ' gestation was not associated with neurological , cognitive , behavioral , growth , or functional outcomes in their children at school age , although a mortality advantage can not be excluded .