Timeout CQL query after (default) 30 seconds

We have been seeing weird cassandra query hanging issues when one of the nodes go down. Ideally it should just switch to next node in that case but for some reason the query is hung forever. This causes scheduler to stop working and many API calls never return. This PR times out any query after 30 seconds. It does not solve the problem but mitigates to an extent.