<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def client_end_all():
 """ Performs cleanup on all clients - called by runserver_socketio when the server is shut down or reloaded. """

    for request, socket, context in CLIENTS.values()[:]:
        client_end(request, socket, context)