@OnClose public void onClose(final Session session,final CloseReason closeReason){
  removeSession(session);
}

@ OnClose public void onClose ( final Session session , final CloseReason closeReason ) { removeSession ( session ) ; }
called when the connection closed .
