Added a delay after puppetdb shutdown to avoid false failures