Fixed error upon quiting watching the current folder