def start_thread(function, *args, **kwargs): "Start a new thread and wrap with error catching." _thread.start_new_thread(_bootstrap, (function, args, kwargs))