Explicitly dispose sample buffer as suggested to fix #73