properly shutdown audio