[Utils] Implement the asynchronus mode in executeOnGLibEventLoop().