Custom events emitter that stops when return false