Yet another randomly failing program