Man arrested for beating store clerk with stick after failed robbery attempt