[minor] fix completion reinit in console
[minor] don't force exit the agent when running modules directly