Add unlink method to GreenThread
some small fix