Maybe if you wrote your own ftp client, using Scott Klement's socket
tutorial, you could try the minimal opening the socket to the remote
location. If the open works then exit out gracefully and try your normal
ftp script, (if that's as far as you want to take your socket
programming). I would think that you'd have more control with the timeout
on your own sockets program.