Time should not be added back to the clock. B is awarded a throw-in from the point of interruption of the game - which is where the dead ball happened with 4 seconds left.
Someone else can cite the rules references, as I do not have books with me right now.
__________________
Pope Francis
|