[FixRM:#4704] - Fix EOFError in filezilla_server_port

If login fails, the module shouldn't continue sending commands to
the server, otherwise this causes an EOF.
Land #1972, @wchen-r7's patch for [FixRM:#4704]