Sounds to me like he has some issues in his life, or he could literally be addicted to masturbation. I suggest you just let him get on with it until you finish up, or speak to him about it. I don't think there are any need for pranks here, and definitely no need to humiliate him.