If it's anything like my BMW M3, there are a whole host of factors that the car takes into account before stopping the engine - including state of battery charge, engine and ambient temperature, whether the air con is on, etc, etc.
Most likely is that your battery is not sufficiently charged - or that you have switched the Stop/Start system off :-)