Go to Settings > Configuration > SSH . There is a section called SSH Settings, check the SSH keepalive option. Then the problem should go away.