event source: dispatch pending open/error events on callback setup