change name keepAlive->closeNow to avoid confusion