def start_task(self, method, *args, **kwargs):
thread = threading.Thread(target=method, args=args, kwargs=kwargs)<EOL>thread.is_daemon = False<EOL>thread.start()<EOL>self.threads.append(thread)<EOL>
Start a task in a separate thread

            Args:
                method: the method to start in a separate thread
                args: Accept args/kwargs arguments