Update documentation about new optional timeout parameter.