Detect if a task.id has to be loaded Closes #12

This commit detects if a task.id has to be loaded instead of requesting
a new one.