Fix anomalie #438

Add mutex_lock to avoid creating same local account for various users