Improve Session exec

Session exec needed some updating for longer running commands
in preperation for creating users, etc.