fix issue with not having a tcp reply on commands that will never reply. reuse shouldwait!
cleanup and fix logging