Free up cached buffers when Thread completes