This method of the Command class indicates, in seconds, how long to wait for a command to execute.
public int getCommandTimeout();
Returns an integer value that indicates, in seconds, how long to wait for a command to execute.