add :retry_if_state option to result method