missed timeout argument

Now the timeout parameter is not useless.