I have a very unreliable connection which disconnects quite frequently and becomes a massive problem when downloading, as the option to resume is not always available.
The solution that comes to my mind is to prevent processes to know about the disconnection while I am reconnecting so that downloads do not fail.
How can I do this? (I am running Linux)