Using thread instead of job for cleaning up so it finished jobs arent left in PS