Fix timeout handling for StateManagerSingle.tryRotate
For consistency with context.WithDeadline and context.WithTimeout, rename "deadline" to "timeout" everywhere (a timeout is a duration, while a deadline is a point in time).
For consistency with context.WithDeadline and context.WithTimeout, rename "deadline" to "timeout" everywhere (a timeout is a duration, while a deadline is a point in time).