Fix Resampler close.