Clarify timeout statemachine logic.

@rgariepy for review