What kind of server are you connecting to? I read somewhere that Apache has a default ftp timeout of 300 seconds, so perhaps it has nothing to do with your configuration, but rather the server you are connecting to. Do you have access to the server to see what the settings are?