Socket timeout set to 2 seconds