Sometimes you need to pause your code and wait until some condition is true, such as waiting for one of your other services to start. Did you know that to check the availability of a server, you just need to establish a connection to it? In Ruby, you can use the waitutil gem for this. Although it hasn’t been updated for a long time (the last commit was 11 years ago), it still remains a great tool for waiting for certain conditions. The main advantage of this gem is that it does not use the Timeout module.