Client error handling in case server dies.