Make TaskCondition work with a normal Mutex, too.