try to avoid nginx not being started on complete