Added server status check