Thanks all of you. I looked through the T section and missed 10-1-6

It does remain somewhat unclear as to who is responsible for making sure all players who have been subbed for leave promptly, or how promptly they must leave. For a fifth foul it is clear that the player immediately becomes bench personnel and the sub must come in within 30 seconds.