AS7-6593 Remove unused import
AS7-4492 Use AS-specific shutdown hooks