Adds an event listener that will be invoked a single time