Disabling shutdown hook in the tests. Hope this fixes the random failing tests.