Melatonin

Anyone take melatonin to help sleep while pregnant and how safe is it???