Bug fixes for handling paths raised by watcher service and stopping of http server.