The FtpTaskSuspend function will suspend execution of the
background worker thread associated with the task. Once the task has
been suspended, it will no longer be scheduled for execution, however
the client session will remain active and the task may be resumed
using the FtpTaskResume function. Note that if a task is
suspended for a long period of time, the background operation may fail
because it has exceeded the timeout period imposed by the server.
This function should never be called from within the event handler
for an asynchronous task because it can cause the process to deadlock.