add error handling in lc_ctr
Remove seemingly meaningless two lines

inc and dec after set 0 to atomic value
seems to be meaningless.
I don't remember why I wrote this lines.