Remove old threaded code

See title