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

actually does `err == syscall.EAGAIN` cover it?