fixed issue with xhr abort