Always make multiple checks if the server is responding before restarting it.