Stop ajax call within object
===

I have an object where I have an ajax request:

    var newsrecentObj = {
        init: function() {
            var self = this;
            
            self.fetch().done( function(data) {
                console.dir( data );
            } ).error( function(data) {
                // stop ajax call
            } );
        },
        
        fetch: function() {
            var self = this;
            
            return $.ajax({
                url: 'http://url.to/api',
                timeout: 5000,
                dataType: 'jsonp'
            });
        }
    }
    
    var newsrecent = Object.create();
    newsrecent.init();

I want to stop the request when a timeout occurs. But how can I do that?

Tnx