[Utils] Returned the event ID of the async. task.

The caller of executeOnGLibEventLoop() sometimes needs the event ID for the canncel etc.