reset client and server