Two men who were arrested for trying to rob the safe of a Hyannis restaurant in August were connected with a slew of breaking and enterings Monday after police connected the duo's fingerprints with past incidents, Barnstable police said in a statement.