Datendokument kann nicht bereits in Java geschlossen gewesen sein

@Override
protected void buildExcelDocument( Map<String, Object> model, Workbook workbook, HttpServletRequest request, HttpServletResponse response)   {

	createExcel(workbook, model); 
    
	response.setContentType("ms-vnd/excel");
	response.setHeader("Content-Disposition", "attachment;filename=example.xlsx");
	
	try {
		
		ServletOutputStream out = response.getOutputStream();
		workbook.write(out);
		out.flush();
		
	} catch (IOException e) {
		e.printStackTrace();
	}  
}
Lucky Ladybird