Joy i believe that is a function of the application that is doing the connecting...for example SSMS will wait forever, whereas any application that is creating an instnace of a SQLConnection gets a default timeout of 30 seconds; there is a parameter ont he SQLCommand to change the timeout.
Since the application decides how long it will wait for SQL to respond, I don't think you'll find a server side setting for it.
help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!