added reset-command-object to allow using the same command against multiple connections