Fix segfault in connect_destroy()
Merge pull request #148 from LinuxJedi/destroy_fix

Fix segfault in connect_destroy()