The accept_connection() could detach from the child socket on a failure, so we need to keep and use the server socket for logging the accept failures.
The accept_connection() could detach from the child socket on a failure, so we need to keep and use the server socket for logging the accept failures.