clear forked apps on error