[server][Helpers][GMainLoopAgent] Extend run() so that callers can specify arbitrary callback funtion for the timeout.
[server][Helpers][GMainLoopAgent] Remove the timeout parameter for easy use.

If we meet the situation when we need to explicitly give the timeout
value, we'll add the way to realize it at the time.