Changed the KThread finish() function to reflect new join implementation