<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def terminate(self, include_watchman=True):
 """Terminates pantsd and watchman. N.B. This should always be called under care of the `lifecycle_lock`. """

    super(PantsDaemon, self).terminate()
    if include_watchman:
      self.watchman_launcher.terminate()