fix pipe not ending on error

when using gulp-watch and an error occurs, the pipe hangs and does not complete.

fixes #43