Fixed deadlock when the threaded spinner times out