Adding a method to set the taskNeedNewBodyStream block.