A script to check if a server is up