Added constant socket read timeout

I encountered the problem that the server would not shutdown as long as a webbrowser, that accessed the server, still ran. This is because the connection is kept alive.
With this patch, idling client handling threads will shutdown after 5 seconds.
Note that threads that are kept busy by a client will not shutdown.