how to fix an error occurred while reconnecting z