JBIDE-12202 - replace the bad rse wrapped locking with more efficient and proven api from foundation;  fixed logging of publish result to not log error if all results are ok