kludgey fix for wifi disconnect problem.