restored cancel method, needed for compatibility with django-pytds