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

1. Added a check to make sure that Cassandra is running before nodetool connect call is made.

2. If C* is not running, then new JMX connection exception will be thrown.