I have a same problem.
when i use
var excelPackage = new ExcelPackage(memoryStream)
i found a same problem
but
when i debugging and previous to previous line and step again, it pass..
another program i use EPPLUS not found this proplem but haven't try.