def kill_local_jobs(self):
gevent.killall(self.jobs)<EOL>self.jobs = []<EOL>
Kills all the jobs spawned with BaseNamespace.spawn() on a namespace
        object.

        This will be called automatically if the ``watcher`` process detects
        that the Socket was closed.