https://issues.jboss.org/browse/JBPAPP-10964 - sync counter fix