twisted downgrade