Add a `CONFIG_THREADS` setting to set the number of threads for operations (`backup`, `prune`, etc.) that support it.