Extended the range of the promise in processQueue to be sure no command will be executed after disconnection

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Added test to prove last commit

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
Incremented version

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>