Retrieve a task

Retrieves a task by its ID.