Make socketQueue readonly.