is it okay to disconnect Antminer like S7 >
While you aren't connected to the internet you can't submit shares to your pool, so you won't earn anything during that time period. That's why it's recommended for miners to have fast, low latency connections.