close wifi after destroying activity