added sleep so that curl doesn't time out quite so quickly...