Add an _on-error_ handler and a _close_ signal to the _sync_ event listener implementation to bring it up to parity with the _async_ implementation.
Add an on-error handler and a close signal to the sync event listener implementation to bring it up to parity with the async implementation.