Asset Client and BAM event publisher re fractor

move the synchronized to method definition