Wikipedia foundation.
go kaflooey — verb To turn out wrongly; to cease to function or exist … Wiktionary