Close gateway connection in TIME_WAIT state
no SIGFPE plz
Random fixes on examples