add callback in RootUtils for getting the console return by time