set the workmanager as daemon thread