Task stats now update properly
Fixed segfault when fork() calls get_free_task() and gets NULL as a result