Add checks to runner CPU and memory usage functions to make sure that child processes exists before checking their state.