Disable then on jqxhr