title: Stop Watching A Directory for Changes (cleanup)
body: <p>I implemented a directory watcher following the java tutorial: <a href="https://blogs.oracle.com/thejavatutorials/entry/watching_a_directory_for_changes" rel="nofollow">https://blogs.oracle.com/thejavatutorials/entry/watching_a_directory_for_changes</a></p>
  
  <p>I have it on a separate thread that updates a JList. Everything seems to be working fine, what I wanted to know is: Do I need to do some type of cleanup somewhere and what would be the best way to do so if that's the case. Because that thread is basically waiting the whole time just in case something happens, after that it goes back to waiting for the next change.</p>
  
  <p>Thanks for the help.</p>