Use correct timeout for mutexes.