Seeing as two locks are being acquired here, is there any possibly to deadlock? Or livelock for that matter?