clean up deinit/reinit logic, make sure ao library is fully shutdown and reinitialized