Fix how to call function.
Fix process to kill grandchild process.
Add process to stop process timeout to be daemon.
Add call to g_main_loop_run function when timeOutChildProcess function is called.