Add async method in threading