Issue #43: now always releasing all connections/resources

Pull request for issue #43.