Make sure any outstanding watches are stopped at the end, by using defer