Make sure the test joins the active executor thread before waiting for the executor to be GC'ed. Reviewed-by: mchung, martin