Put conn shutdown in a sync.Once
Added first two spinlocks