Use atomics to make writing of results safe in `removeObjectsOneByOne`
Previous implementation didn't have any synchronization mechanism for
goroutines that does the work.
There are multiple approaches to make it work correctly, let's start with
the simplest - atomics.