Fix bug where multiple entries to same task would be added
Return an existing token, if any