Connection is now closed as a part of the command workflow's run function as well as in IDisposable implementation.