[BUG] 8371092: NullPointerException in AltServiceUsageTest.afterClass test method

I addressed the warm boot issue that occurs when closing the channel after a test.