A Connecticut man tried to rob a restaurant with an iPhone. It didn't work.