Fix termination of batch request.