Clean up shutdown handling