Attempt gracefull start of database for migrations