[BZ-1122738] fix CompositeMaxDurationTimer
(cherry picked from commit cb1e2746afc7d9a2fd8bf5b0a56524f146f75e92)