Changed some locking behavior in WorkManager
WorkManager now uses ReentrantLock and hopefully better scheduling,
should be more performant all around