FIX added lock for receiving external notifications