Prevent double callback in case of stream that emits multiple errors
Avoid anonymous functions