smb: Close the connection after a failed client write