recovery: cleanups global reference to context.