fix for client dealing with server down