problem was: The script wasn't exiting gracefully. I had to either kill it or let it die out of exceptions.
Solution is: added a lock thread.allocate_lock()
Also added more delimiters in the output so I can recognize each FTP dir being listed
Nice output now !!
Added more comments to the code, so it can be easier to review, Also eliminated some prints that I thought were unnecessary
I like the end result. It is cleaner