Return 404 for /task/complete if task does not exist