check if endpoint is running