I am creating a client-server application with sockets that when the server dies a client needs to restart the server so it can continue using the application and other user