Using the EventsCmd a connection is blocked when EventsCmdExec is trying to close it. Seems it is a threading issue.