fix to close standby node if keepalive