call 'done' on error conditions

a callback should always be called