Fix Timeout.

The purpose of this patch is to fix a issue setting the timeout
value from the command line.