s3:smbd: add disconnected checks to the open code.