Eliminated exception in send_thread() when shut-down during transfer by no-longer dereferencing ctrl_thread pointer if shut-down in progress.