The lonely horse is a masturbation technique involving masturbating while driving. To restate: going to town on yourself as you are going into town.
Jimmy: Hey, are you driving? Timothy: I'm the lonely horse at the moment, almost home.