Moved from depricated threading API to shiny python3 newness