Checking if cassandra is running, before making nodetool connect call.