Fix minor issue, asynchronize thread.