Why lock the thread??