Fix memory leak in AudioClient