[PATCH 2/2] BZ 786865: Add THIN_LOCKFILE for improved service shutdown and status