The server handled one client at a time, so a client that connected and sent nothing blocked every other client. The request handling is now in handle_client, and the main loop starts one thread for each connection.
The server closes a connection that stays silent for 5 seconds, so its thread ends.