Add default socket timeout.

This should fix a majority of the issues around hung and killed workers.