Domain joined

fixed the bug and tested when no internet was available and when no corpnet was available, but internet was working.
done. previously it took around 3-4 minutes to timeout. now it is instantaenous.