Stop background threads after webapp stop/reload.

Properly auto-format GraphServiceFileImpl code.
Merge pull request #1286 from laurentg/thread-reload

Stop background threads after webapp stop/reload.