Add lock and logging in generic callback synchronizer
Add logging in process callback sync