Added server status checking.