PostRun function in cli does not get called if an error is thrown
Description
After an error is thrown the PostRun
function in the gosdnc
does not get called. This leads to the issue that the set parameters like password, etc. do not get reset to their default values. Therefore, the previously set values remain and this can cause issues when trying to send new requests after a failed one.