Man flees after attempting to rob store