[CLI-939] fix(watch): remove hooks only after processing all (#2271) (#2272)
[CLI-939] fix(watch): remove hooks only after processing all (#2271) (#2272)

Co-authored-by: Boris Dayma <5671022c2ab66ccf8b6ffaa47b5d2841de09a5d0@gmail.com>
wandb/client,wandb/client,wandb/client