change from close to disconnect