code: def do_timeout(self, args):
          
  
          if not self.current:
              print('There are no resources in use. Use the command "open".')
              return
  
          args = args.strip()
  
          if not args:
              try:
                  print('Timeout: {}ms'.format(self.current.timeout))
              except Exception as e:
                  print(e)
          else:        
              args = args.split(' ')
              try:
                  self.current.timeout = float(args[0])
                  print('Done')
              except Exception as e:
                  print(e)
docs: Get or set timeout (in ms) for resource in use.
  
          Get timeout:
  
              timeout
  
          Set timeout:
  
              timeout <mstimeout>