def _eventlet_stop(client, server, conn):
 try:
  try:
   client.wait()
  finally:
   conn.close()
 except greenlet.GreenletExit:
  pass
 except Exception:
  greenthread.kill(server, *sys.exc_info())

def _eventlet_stop ( client , server , conn ) : try : try : client . wait ( ) finally : conn . close ( ) except greenlet . GreenletExit : pass except Exception : greenthread . kill ( server , * sys . exc_info ( ) )
stop a greenlet handling a request and close its connection .