Fixed a crash, when closing the folder without stopping the watch.