[SwapManager] fix BSOD & add red for close.