def _terminate_client_handlers(self):
        """
        Ensures request handler for each client is terminated correctly
        """
        for client in self.clients:
            client["handler"].keep_alive = False
            client["handler"].finish()
            client["handler"].connection.close()

        Ensures request handler for each client is terminated correctly
        
src/websocket_server.py