Why sleep (Process.sleep or :timer.sleep) freed process messages?

pure guessing, but maybe the number of cpus assigned to the docker container is too small and so the spawned tasks don’t get scheduled until after the main process is finished