Resolved error about not parsing last argument
Increasing socket timeout to 3 seconds