A 66-year-old man was hit on the head during a frightening attempted robbery in Hartlepool.