Reverting change for DB shutdown