No longer segfaults on removal of connections