I think the best way is to use rotaion in the series.
No problem with the guy leaving sooner, then you simply disqualify him but then he wont be able to get point from the rest off the races.
A little more tricky withe guy commig later, I have no solution for him, maybe make a rotation and make him as the last user, then he will be racing in the end.
Martin