Execute first restart task sooner

This way nginx server will be restarted when there's still unknown (but
working) configuration, and we don't need to test the config separately.
Merge pull request #6 from drybjed/move-tasks

Execute first restart task sooner