Why does Bloom take so long to connect to the database?