client checks if online