Adding additional cleanup to prevent hangs if client disconnects mid-transfer.
Adding additional cleanup to prevent hangs if client disconnects mid-transfer.

oktal/pistache,oktal/pistache,oktal/rest,oktal/pistache,oktal/pistache,oktal/pistache,oktal/rest,oktal/rest,oktal/rest