Removing our onerror2 handler on cleanup