https://issues.jboss.org/browse/WFLY-2644 cli: java heap space exceeded loopi...

...ng connect/disconnect cycle

In the interactive mode this problem will never happen. It may happen in a program/test which creates thousands of cli sessions.

Thanks,
Alexey