fix to close unavailable node if keepalive