Javascript How To Kill Node Js Server Connection When Client Browser

Javascript How To Kill Node Js Server Connection When Client Browser