Removing greenthreads