It happens quite a bit throughout the season..whether they notice clock malfunctions or players doing something. The ref will blow the whistle, go take the ball from the shooter & settle the situation.
Obviously it was terrible timing by Crawford and he's still an idiot. Don't think he made KD miss the shot though.