added sleep to deployment