Change error handling to capture ldapjs errors and emit 'error' events.
Incrememt version.