Avoids race during close that can left connection hanging forever

JAVA-131 #fixes
Don't wait forever when setting keyspace