The first thing to do should be to check the logs in the C:\TF400Gateway\Log directory for the word "error"
Anything other than a Socket Error is considered fatal and needs to be investigated further.