Close all DB connections manually on server shutdown