Set default socket timeout to 3 seconds

I think this should fix #110