Implement Action.context(), a context manager that doesn't actually
finish the action.