Improve reliability of thread-leak test in CassandraRDDSpec.