Fixed a bug where the watchers would cause a segfault. 

If the loop went out of scope and was thus destroyed while there were still watchers active somewhere, they would cause a segfault as soon as they went out of scope.