0.7-lcs4: Prevent endless recursion by not calling disconnect() if QUIT fails.