[PDI-11104] - Invalid Send message to Syslog step runs forever unless transformation is closed.

<h1>direct-master</h1>

* Added for NPE during dispose method. Have no ability to close in right way as exception is in thirdparty library
* Added unit test