Finally I have got the Solution for my problem. I have rechecked all the code and finally I found out that , while we are accessing any database inside the thread then use the connection created inside the thread itself. Donot use the default connection which may opened inside the main function. So that was the problem for the slow process of QFtp.

Thank you