Got rid of client_5, moved atexit much earlier.