remove finished tasks in ordering.php