I just read the ball is dead after the foul is called, and that you can goaltend after the whistle, but not before it (so if a ref called goaltending right before another ref calls a foul, then you get 2 poitns and a shot. After the foul it's legal and they get 2 shots).
However, I read this on a high school reffing forum, so I may be wrong. First thing I found on google.