Revert "when command mode it should join the thread after invoke"

This reverts commit 9c10a5e5de16d282db10c9c1eafa2657ab382278.
fix #149