prevent double callbacks on multiple 'error' emits
move oncemore to own file