Apache FTP Client - abort transfer

I am using Apache FTP client to do the FTP transfer. The trasnfer runs in a thread.

I am running another thread for timeout. Once timeout occures i need to terminate transfer if not finished.

For some reason FTPClient.abort doesn't work.

I found some discussion on that issue and tried to override the abort method - it didn't help.



I tried to "stop" thread - that didn't work either.


Any suggestions ?

Thank you in advance.