check server connection alive