279c279,281
<             
---
>             catch {read $ftp(CtrlSock); close $ftp(CtrlSock)}
>             catch {unset ftp(CtrlSock)}
>             catch {unset ftp(state.data)}
291d292
<             catch {close $ftp(CtrlSock); unset ftp(CtrlSock)}
