Fixed RejectedExecutionException when watching files

Calling shutdown-agents during the watch process causes a
java.util.concurrent.RejectedExecutionExceptioni.
Merge pull request #18 from canassa/fix-file-watcher

Fixed RejectedExecutionException when watching files