Figured out threading issue