Asset Client and BAM event publisher re fractor

Also you need to close the stream