delete buffer, not only close them