Add eventTimeout variable in FunctionArg structure.
Add eventChildWatch variable in FunctionArg structure.
Change to use of variable.
Add process to remove source of g_child_watch_add.
Event id of g_timeout_add in elese section store in variable.
Add to call g_child_watch_add function in else section.
Add process to call g_source_remove function to remove resource.