added sleep to nginx stop