support Queue of threads
fix st2 support
fix st2 error using thread
use add_on_change listener