Let's say I've a server running, how do I know if it's still running before trying to call tool or list tools? I want to add some retry logic so in case there's an transport error, I can retry connecting/restarting the server