Handles client failure to connect to server smoothly