Forces GC to collect and unmap memory (we use it before we start and wait for memory-intensive tasks in child processes).