Shove graph calculation into its own thread