checking in getHostup race condition fix attempt for testing