avoid NPE when stopping after error (cassandra)