See
> ## Number of chunks and runs per chunk
> chunks <- 250
> runs <- 40
> plan(multisession, workers= availableCores()-1)
Error: Cannot create 127 parallel PSOCK nodes. Each node needs one connection, but there are only 124 connections left out of the maximum 128 available on this R installation
Execution halted