BIC-93: Add more promises around the startup sequence to resolve timing issues related to the DB