fixed the jira IOT-712 issue in blockwise-transfer