I have had this problem myself while crafting and I can agree with you that it is infuriating. There is nothing worse than losing the materials of a high craft item that takes a fair amount of time to gather.

You could try macro commands to make the item so that if you are disconnected the macro has already sent the information to the server. I'm not sure if it will work though, but at best it can speed up your crafts so that the time window is smaller. There are a few websites that will lift your character data and give you the most effective macro to craft, giving you the greatest chance of getting High Quality too.