Fix bug in mutex timeout time delta calculation.