refine protocol timeout.