Fixed client disconnect error failure.