Revert "Remove old close() method"

This reverts commit b52723f9d6ba6de37e494a1d12bb4db39c8a8086.