The carrier had recorded net profit of 992 million euros in the same period a year earlier but that included exceptional gains such as the sale of a stake in the travel group Thomas Cook for 503 million euros , a statement said .