<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_timeout(scope, timeout):
 """ Defines the time after which Exscript fails if it does not receive a prompt from the remote host. :type timeout: int :param timeout: The timeout in seconds. """

    conn = scope.get('__connection__')
    conn.set_timeout(int(timeout[0]))
    return True