[Utils] Fix a problem that causes a deadlock when executeOnGLibEventLoop() is called on the context owned by the caller.