Added call to close connection to Cassandra.