Thread safe insert