Add rescue to GET /tasks/:id for RecordNotFound error