we can now quit properly the client