[FIX] - EventCahce - connections and statements were not closed in some
cases when exceptions were thrown