
transfer_threadproc has a timeout of half a second, so when kill_transfer_thread tries to pthread_join, it often has to wait until the timeout kicks in. With this fix, we ensure that a final request is made after request_exit has been called, so that transfer_threadproc can exit its loop in a fast and clean manner.