[0.2.5] add connections method, fix state cleanup

Signed-off-by: Eli Skeggs <eskeggs@globesherpa.com>