add server status checking