added in sleep before  db start