workmanager with a thread constraint added