[Utils] Returned the event ID of the async. task by executeOnGLibEventLoop().

The caller of the function sometimes needs the event ID for the canncel.