Changed ACTION_WAIT_VAL from static variable to member.