Implement onSuspend event API.