Latest update

Should appropriately wait for DB stopping when restarting all DB instances