Change synchronization

Change synchronization from Channel to object perChannel, which is
functionnaliy identical, but preventing trouble if lock is done outside
on the channel too.