To set this property via CM, go to CM > Impala > Configuration > Impala Daemon > Advanced > Impala Daemon Command Line Argument Advanced Configuration Snippet (Safety Valve) and add the below:
-idle_query_timeout=
Restart the impalads after saving the above change.