More aggressively wake up threads during termination in the Ruby RequestHandler.