shutdown hangs