Test case for #508 Resource leak when using 0.4.1 + cassandrathrift and iterating over all vertices