Stop using the deprecated Bootstrap shutdown() method