.then(() => gogoShell.sendCommand(command))
.then(function() { return gogoShell.sendCommand(command); })