Close the connection when try to execute the command.
Merge pull request #26 from sirkonst/close_on_execCommand

Close the connection when try to execute the command.