Fix heap corruption while destroying not inited connection
Merge pull request #26 from alexeyvo/development

Fix heap corruption while destroying not inited connection