softwaremonkey wrote:If my client application does not get a reply from the server within 10 seconds then something is wrong and I would like to exit rather than just stay open and doing nothing.
I don't think such feature would be beneficial in any way. Probably, you did not think on such situations thoroughly.
Your application should really stay doing nothing, until the user attends to it. It should show an error condition in sufficient detail and wait for the user. Just think about what you suggested: it won't provide the user with essential feedback. Disappearing of the application without user's consent is generally totally confusing, should never be done.