added some method to suspend upload if needed