Target stop fixed

Disposing logic moved to the same thread where connection starts
Merge pull request #1 from envilogger/develop

Target stop fixed