Process pending events after closing monitor