-Use threading library instead of sublime's set_timeout_async