Components are now initialized sequentially, stopped in reverse order
It turns out that when you have a database object and you kill it, the ongoing jobs using the now defunct database will fail to finish their thing.
Ideally, if your jobs depend on your database. You will start the database first, then the jobs.
Likewise, when stopping gracefully your program: you better finish ongoing jobs, before killing the DB connections.