some events cause you mission to end suddenly, like "Ancient cosmic horror" or "Invading Fleet"
I added more events and fixes in the next update, i will release them in the next update.