title: Test connection
body: <p>I was curious if anyone knows a way to test a connection with preferable a custom timeout. I have a page where different disks are being indexed for selection in further processing. One disk uses sftp, this disk is stuck at random times so the application cant connect and trows an error.</p>
  
  <p>I am looking for a way to suppress the error and let the user select the other files that can be indexed at the moment. </p>
  
  <p>I use standard laravel storage facade. And tried already something like this:</p>
  
  <p><code>$disk = Storage::disk($project-&gt;category-&gt;FileServer-&gt;name);
   $adapter = $disk-&gt;getDriver()-&gt;getAdapter();
   $adapter-&gt;connect();
  </code></p>
  
  <p>The problem with this is that connect always trow null.</p>