Thread save background executing