working library

If the client is stopped before the servers complete their tasks, the servers also stop the dead client's task and restart themselves to prepare for the next client.