add a timeout for client request socket (necessary for persistent connection so we know when to quit)