DBALException catch added to batchDelete and delete