Added a configurable TCP timeout in seconds for each TCP Read/Write request, and updated the example accordingly