catch exceptions for insert and delete on cassandra service