UIContext cannot be closed in here afaik