stop image downloading when sending xhr