To check the server status