added system exit of get general engine exception 10 times when attempting a query