explicitly endOnError in toDeferred