added timeout parsing