changed read timeout value to 1ms