Removed shutdown hooks, as they are unnecessary.