unregister

Removes the handler for the given task ID.