*: lock the in using files; do not purge locked the wal files

why do you need two handles to the same file?